import Index from "../pages/Index.vue";
import SearchPage from "../pages/SearchPage.vue";
import UserPage from "../pages/UserPage.vue";
import TeamPage from "../pages/TeamPage.vue";
import UserEditPage from "../pages/UserEditPage.vue";
import ResultPage from "../pages/ResultPage.vue";
import UserLoginPage from "../pages/UserLoginPage.vue";
import TeamAddPage from "../pages/TeamAddPage.vue";
import TestPage from "../pages/TestPage.vue";
import TeamEditPage from "../pages/TeamEditPage.vue";
import MyTeamPage from "../pages/MyTeamPage.vue";
import UserInfoPage from "../pages/UserInfoPage.vue";

const routes = [
    { path: '/', component: Index },
    { path: '/test/page', component: TestPage },
    { path: '/search', title: '搜索',component: SearchPage },
    { path: '/team', title: '队伍',component: TeamPage },
    { path: '/team/add',title: '添加队伍', component: TeamAddPage },
    { path: '/team/edit',title: '修改队伍', component: TeamEditPage },
    { path: '/team/my',title: '我的队伍', component: MyTeamPage },
    { path: '/user', title: '我的',component: UserPage },
    { path: '/user/edit',title: '修改', component: UserEditPage },
    { path: '/user/info', title: '用户信息',component: UserInfoPage },
    { path: '/user/list', title: '搜索',component: ResultPage },
    { path: '/user/login',title: '登录', component: UserLoginPage },
]
export default routes;